x86/hvm: miscellaneous CPUID handling changes
authorKeir Fraser <keir@xensource.com>
Fri, 12 Oct 2007 10:42:56 +0000 (11:42 +0100)
committerKeir Fraser <keir@xensource.com>
Fri, 12 Oct 2007 10:42:56 +0000 (11:42 +0100)
commit60dc4142c6d4bebbd7f4ecdc0bb56b2f976cad27
tree77fca6ca26d2ba4bb4f9e16848bc85a172446361
parentb392d5cd47319442985c2f65636f15de98a231bb
x86/hvm: miscellaneous CPUID handling changes
 - use __clear_bit() rather than clear_bit()
 - use switch statements instead of long series of if-s
 - eliminate pointless casts

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/hvm/hvm.c
xen/arch/x86/hvm/svm/svm.c
xen/arch/x86/hvm/vmx/vmx.c
xen/include/asm-x86/cpufeature.h